
#encoding=UTF-8

from Error import *
from DefensiveBuilding import *

class Wall(DefensiveBuilding):
	def __init__(self):
		DefensiveBuilding.__init__(self)
		self.url = "http://clashofclans.wikia.com/wiki/Walls"
		self.number_available_dsec = """
0 	25 	50 	75 	100 	125 	175 	225 	250 	250
"""
		self.level_info_desc = """
1 	200 	200 	300 	2
2 	1,000 	1,200 	500 	2
3 	5,000 	6,200 	700 	3
4 	10,000 	16,200 	900 	4
5 	30,000 	46,200 	1,400 	5
6 	75,000 	121,200 	2,000 	6
7 	200,000 	321,200 	2,500 	7
8 	500,000 	821,200 	3,000 	8
9 	1,000,000 	1,821,200 	4,000 	9
10 	3,000,000 	4,821,200 	5,500 	9
11 	4,000,000 	8,821,200 	7,000 	10 
"""
		self._DoParse()

	def GetBuildTime(self, level):
		return 0

	def GetExperienceGained(self, level):
		return 0

	def _HitPointsIndex(self):
		return 3

	def _BuildCostIndex(self):
		return 1

	def _TownHallLevelRequiredIndex(self):
		return 4

	def GetDamagePerSecond(self, level):
		return 0

	def GetAttackSpeed(self):
		return 0

